var vue = new Vue({
    el:"#app",
    data:{
        spotDetail:{},
        spot:{}
    },
    methods:{
    },
    mounted:function () {
        var param = getParams();
        var id = param.id;
        ajaxGet("/spotDetails/query",{id:id}, function (data) {
            var spotDetail = data.data;
            vue.spotDetail=spotDetail;
        })
        ajaxGet("/spots/list",{id:id}, function (data) {
            vue.spot= data.data;
        });

    }
});

